Measurement of skin conductance with Pain detector